Simply_Static\Util B

Total Complexity 79
Dependencies 3
Dependents 30
Total lines 695
Lines of code 336
Logical lines of code 169
Comment lines 253
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
relative_to_absolute_url()
A
45 14 38
get_file_system()
S
52 6 25
url_path_info()
S
51 5 29
debug_log()
S
54 4 20
is_local_asset_url()
S
50 3 32
create_offline_path()
S
59 4 12
is_cron()
S
68 4 7
add_archive_status_message()
S
60 3 14
clear_transients()
S
52 2 28
get_temp_dir()
S
60 3 13
clear_debug_log()
S
70 2 6
get_debug_log_filename()
S
63 2 10
get_contents_from_object()
S
65 2 10
truncate()
S
76 2 3
normalize_slashes()
S
77 2 3
combine_path()
S
62 2 10
origin_url()
S
68 2 7
remove_trailing_directory_separator()
S
79 1 3
abs_path_to_url()
S
67 1 8
remove_leading_slash()
S
79 1 3
add_leading_slash()
S
79 1 3
remove_leading_directory_separator()
S
79 1 3
origin_scheme()
S
75 1 4
add_trailing_directory_separator()
S
78 1 3
formatted_datetime()
S
80 1 3
strip_index_filenames_from_url()
S
75 1 4
origin_host()
S
79 1 3
string_to_array()
S
70 1 6
remove_params_and_fragment()
S
78 1 3
get_path_from_local_url()
S
72 1 5
is_local_url()
S
77 1 3
is_valid_scheme()
S
68 1 7
error_log()
S
75 1 4
strip_protocol_from_url()
S
75 1 4